<?php
namespace app\common\model;

use think\Model;

class MemberScore extends Model
{	
	public function getCircleTimeAttr($value){
		$status = ['0'=>'不限','1'=>'一次','7'=>'每周','365'=>'每天'];
		return $status[$value];
	}

	public function getMaxNumAttr($value){
		if ($value == 0) {
			return '不限';
		}else{
			return $value.'次';
		}
	}
}